import request from '@/utils/request';
// /base/segmentattribute/list

/**
 * 获取断面属性列表
 */
export const getDMAttributeList = (data) => 
  request({
    url: `/base/segmentattribute/list`,
    method: 'get',
    params: data
  })

///base/segmentattribute/add

/**
 * 天街断面属性
 */
export const DMAttributeAdd = (data) => 
  request({
    url: `/base/segmentattribute/add`,
    method: 'post',
    data
  })

  /**
 * 修改断面属性
 */
export const DMAttributeEdit = (data) => 
request({
  url: `/base/segmentattribute/edit`,
  method: 'post',
  data
})

///base/segmentattribute/remove/{ids}
/**
 * 删除断面属性
 * @param {*} IDs 
 */
export const DMAttributeRemove = (IDs) => 
request({
  url: `/base/segmentattribute/remove/${IDs}`,
  method: 'get',
})
